home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / pageInfo.xul < prev    next >
Extensible Markup Language  |  2006-07-18  |  14KB  |  321 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://browser/skin/pageInfo.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window [
  6.   <!ENTITY % pageInfoDTD SYSTEM "chrome://browser/locale/pageInfo.dtd">
  7.   %pageInfoDTD;
  8. ]>
  9.  
  10.  
  11. <window id="main-window"
  12.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  13.   windowtype="Browser:page-info"
  14.   onload="onLoadPageInfo()"
  15.   align="stretch"
  16.   screenX="10" screenY="10"
  17.   width="&pageInfoWindow.width;" height="&pageInfoWindow.height;"
  18.   persist="screenX screenY width height sizemode">
  19.  
  20.   <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
  21.   <script type="application/x-javascript" src="chrome://global/content/contentAreaUtils.js"/>
  22.   <script type="application/x-javascript" src="chrome://browser/content/pageInfo.js"/>
  23.  
  24.   <stringbundleset id="pageinfobundleset">
  25.     <stringbundle id="pageinfobundle" src="chrome://browser/locale/pageInfo.properties"/>
  26.   </stringbundleset>
  27.  
  28.   <commandset>
  29.     <command id="cmd_close"     oncommand="window.close();"/>
  30.     <command id="cmd_help"      oncommand="doHelpButton();"/>
  31.     <command id="cmd_copy"      oncommand="doCopy();"/>
  32.     <command id="cmd_selectall" oncommand="doSelectAll();"/>
  33.   </commandset>
  34.  
  35.   <keyset>
  36.     <key key="&closeWindow.key;" modifiers="accel" command="cmd_close"/>
  37.     <key keycode="VK_ESCAPE"                       command="cmd_close"/>
  38.     <key keycode="VK_F1"                           command="cmd_help"/>
  39.     <key key="©.key;"        modifiers="accel" command="cmd_copy"/>
  40.     <key key="&selectall.key;"   modifiers="accel" command="cmd_selectall"/>
  41.     <key key="&selectall.key;"   modifiers="alt"   command="cmd_selectall"/>
  42.   </keyset>
  43.  
  44.   <menupopup id="picontext">
  45.     <menuitem label="&selectall.label;" command="cmd_selectall" accesskey="&selectall.accesskey;"/>
  46.     <menuitem label="©.label;"      command="cmd_copy"      accesskey="©.accesskey;"/>
  47.   </menupopup>
  48.  
  49.   <tabbox id="tabbox" flex="1" class="spaced">
  50.     <tabs id="tabs">
  51.       <tab id="generalTab" label="&generalTab;" accesskey="&generalAccesskey;"/>
  52.       <tab id="formsTab"   label="&formsTab;"   accesskey="&formsAccesskey;"
  53.            oncommand="ensureSelection(formView)"/>
  54.       <tab id="linksTab"   label="&linksTab;"   accesskey="&linksAccesskey;"
  55.            oncommand="ensureSelection(linkView)"/>
  56.       <tab id="mediaTab"   label="&mediaTab;"   accesskey="&mediaAccesskey;"
  57.            oncommand="ensureSelection(imageView)"/>
  58.       <!-- Others added by overlay -->
  59.     </tabs>
  60.     <tabpanels id="tabpanels" flex="1">
  61.  
  62.       <!-- General page information -->
  63.       <vbox>
  64.         <textbox class="header" readonly="true" crop="end" id="titletext"/>
  65.         <grid>
  66.           <columns>
  67.             <column/>
  68.             <column style="width: .5em;"/>
  69.             <column flex="1"/>
  70.           </columns>
  71.           <rows>
  72.             <row>
  73.               <label control="urltext" value="&generalURL;"/>
  74.               <separator/>
  75.               <textbox readonly="true" crop="end" id="urltext"/>
  76.             </row>
  77.             <row>
  78.               <separator class="thin"/>
  79.             </row>
  80.             <row>
  81.               <label control="typetext" value="&generalType;"/>
  82.               <separator/>
  83.               <textbox readonly="true" crop="end" id="typetext"/>
  84.             </row>
  85.             <row>
  86.               <label control="modetext" value="&generalMode;"/>
  87.               <separator/>
  88.               <textbox readonly="true" crop="end" id="modetext"/>
  89.             </row>
  90.             <row>
  91.               <label control="sourcetext" value="&generalSource;"/>
  92.               <separator/>
  93.               <textbox readonly="true" crop="end" id="sourcetext"/>
  94.             </row>
  95.             <row>
  96.               <label control="encodingtext" value="&generalEncoding;"/>
  97.               <separator/>
  98.               <textbox readonly="true" crop="end" id="encodingtext"/>
  99.             </row>
  100.             <row>
  101.               <label control="sizetext" value="&generalSize;"/>
  102.               <separator/>
  103.               <textbox readonly="true" crop="end" id="sizetext"/>
  104.             </row>
  105.             <row>
  106.               <label control="refertext" value="&generalReferrer;"/>
  107.               <separator/>
  108.               <textbox readonly="true" crop="end" id="refertext"/>
  109.             </row>
  110.             <row>
  111.               <separator class="thin"/>
  112.             </row>
  113.             <row>
  114.               <label control="modifiedtext" value="&generalModified;"/>
  115.               <separator/>
  116.               <textbox readonly="true" crop="end" id="modifiedtext"/>
  117.             </row>
  118.             <row>
  119.               <label control="expirestext" value="&generalExpires;"/>
  120.               <separator/>
  121.               <textbox readonly="true" crop="end" id="expirestext"/>
  122.             </row>
  123.           </rows>
  124.         </grid>
  125.         <separator class="thin"/>
  126.         <label id="metahead" control="metatree" class="header" value="&generalMeta;"/>
  127.         <tree id="metatree" flex="1" contextmenu="picontext">
  128.           <treecols>
  129.             <treecol persist="hidden width" flex="1" id="meta-name"    label="&generalMetaName;"/>
  130.             <splitter class="tree-splitter"/>
  131.             <treecol persist="hidden width" flex="4" id="meta-content" label="&generalMetaContent;"/>
  132.           </treecols>
  133.           <treechildren flex="1"/>
  134.         </tree>
  135.       </vbox>
  136.  
  137.       <!-- Form information -->
  138.       <vbox>
  139.         <tree id="formtree" class="fixedsize" onselect="onFormSelect();" contextmenu="picontext">
  140.           <treecols>
  141.             <splitter class="tree-splitter"/>
  142.             <treecol sortSeparators="true" persist="hidden width" flex="1" 
  143.                          width="1" id="form-name"   label="&formName;"/>
  144.             <splitter class="tree-splitter"/>
  145.             <treecol sortSeparators="true" persist="hidden width" flex="3" 
  146.                          width="3" id="form-method" label="&formMethod;"/>
  147.             <splitter class="tree-splitter"/>
  148.             <treecol sortSeparators="true" persist="hidden width" flex="2" 
  149.                          width="2" id="form-action" label="&formAction;"/>
  150.           </treecols>
  151.           <treechildren flex="1"/>
  152.         </tree>
  153.         <splitter orient="vertical"/>
  154.         <vbox flex="1">
  155.           <textbox readonly="true" class="header" id="formname"/>
  156.           <grid>
  157.             <columns>
  158.               <column/>
  159.               <column style="width: .5em;"/>
  160.               <column flex="1"/>
  161.             </columns>
  162.             <rows>
  163.               <row>
  164.                 <label control="formenctype" value="&formEncoding;"/>
  165.                 <separator/>
  166.                 <textbox readonly="true" crop="end" id="formenctype"/>
  167.               </row>
  168.               <row>
  169.                 <label control="formTarget" value="&formTarget;"/>
  170.                 <separator/>
  171.                 <textbox readonly="true" crop="end" class="label" id="formtarget"/>
  172.               </row>
  173.             </rows>
  174.           </grid>
  175.           <label control="formpreview" class="header" value="&formFields;"/>
  176.           <tree id="formpreview" flex="1" contextmenu="picontext">
  177.             <treecols>
  178.               <treecol sortSeparators="true" persist="hidden width" flex="3" 
  179.                            width="3" id="field-label"  label="&formLabel;"/>
  180.               <splitter class="tree-splitter"/>
  181.               <treecol sortSeparators="true" persist="hidden width" flex="3" 
  182.                            width="3" id="field-field"  label="&formFName;"/>
  183.               <splitter class="tree-splitter"/>
  184.               <treecol sortSeparators="true" persist="hidden width" flex="1" 
  185.                            width="1" id="field-type"   label="&formType;"/>
  186.               <splitter class="tree-splitter"/>
  187.               <treecol sortSeparators="true" persist="hidden width" flex="3" 
  188.                            width="3" id="field-value"  label="&formCValue;"/>
  189.             </treecols>
  190.             <treechildren flex="1"/>
  191.           </tree>
  192.         </vbox>
  193.       </vbox>
  194.  
  195.       <!-- Link info -->
  196.       <vbox>
  197.         <tree id="linktree" flex="1" ondraggesture="onBeginLinkDrag(event,'link-address','link-name')" contextmenu="picontext">
  198.           <treecols>
  199.             <treecol sortSeparators="true" persist="hidden width" flex="5" 
  200.                          width="5" id="link-name"     label="&linkName;"/>
  201.             <splitter class="tree-splitter"/>
  202.             <treecol sortSeparators="true" persist="hidden width" flex="7" 
  203.                          width="7" id="link-address"  label="&linkAddress;"/>
  204.             <splitter class="tree-splitter"/>
  205.             <treecol sortSeparators="true" persist="hidden width" flex="2" 
  206.                          width="2" id="link-type"     label="&linkType;"/>
  207.             <splitter class="tree-splitter"/>
  208.             <treecol sortSeparators="true" persist="hidden width" flex="2"
  209.                          width="2" id="link-target"   label="&linkTarget;" hidden="true"/>
  210.             <splitter class="tree-splitter"/>
  211.             <treecol sortSeparators="true" persist="hidden width" flex="1"
  212.                          width="1" id="link-acceskey" label="&linkAccessKey;" hidden="true"/>
  213.           </treecols>
  214.           <treechildren flex="1"/>
  215.         </tree>
  216.       </vbox>
  217.  
  218.       <!-- Media information -->
  219.       <vbox>
  220.         <tree id="imagetree" class="fixedsize" onselect="onImageSelect();" ondraggesture="onBeginLinkDrag(event,'image-address','image-alt')" contextmenu="picontext">
  221.           <treecols>
  222.             <treecol sortSeparators="true" persist="hidden width" flex="10" 
  223.                          width="10" id="image-address" label="&mediaAddress;"/>
  224.             <splitter class="tree-splitter"/>
  225.             <treecol sortSeparators="true" persist="hidden width" flex="2" 
  226.                          width="2"  id="image-type"    label="&mediaType;"/>
  227.             <splitter class="tree-splitter"/>
  228.             <treecol sortSeparators="true" hidden="true" persist="hidden width" flex="4" 
  229.                          width="4"  id="image-alt"    label="&mediaAltHeader;"/>
  230.             <splitter class="tree-splitter"/>
  231.             <treecol sortSeparators="true" hidden="true" persist="hidden width" flex="1"
  232.                          width="1"  id="image-count"    label="&mediaCount;"/>
  233.           </treecols>
  234.           <treechildren flex="1"/>
  235.         </tree>
  236.         <splitter orient="vertical"/>
  237.         <vbox flex="1">
  238.           <grid>
  239.             <columns>
  240.               <column/>
  241.               <column style="width: .5em;"/>
  242.               <column flex="1"/>
  243.             </columns>
  244.             <rows>
  245.               <row>
  246.                 <label control="imageurltext" value="&mediaURL;"/>
  247.                 <separator/>
  248.                 <textbox readonly="true" crop="end" id="imageurltext"/>
  249.               </row>
  250.               <row>
  251.                 <label control="imagetitletext" value="&mediaTitle;"/>
  252.                 <separator/>
  253.                 <textbox readonly="true" crop="end" id="imagetitletext"/>
  254.               </row>
  255.               <row>
  256.                 <label control="imagealttext" value="&mediaAlt;"/>
  257.                 <separator/>
  258.                 <textbox readonly="true" crop="end" id="imagealttext"/>
  259.               </row>
  260.               <row>
  261.                 <label control="imagelongdesctext" value="&mediaLongdesc;"/>
  262.                 <separator/>
  263.                 <textbox readonly="true" crop="end" id="imagelongdesctext"/>
  264.               </row>
  265.               <row>
  266.                 <label control="imagetypetext" value="&generalType;"/>
  267.                 <separator/>
  268.                 <textbox readonly="true" crop="end" id="imagetypetext"/>
  269.               </row>
  270.               <row>
  271.                 <label control="imagesourcetext" value="&generalSource;"/>
  272.                 <separator/>
  273.                 <textbox readonly="true" crop="end" id="imagesourcetext"/>
  274.               </row>
  275.               <row>
  276.                 <label control="imagesizetext" value="&generalSize;"/>
  277.                 <separator/>
  278.                 <textbox readonly="true" crop="end" id="imagesizetext"/>
  279.               </row>
  280.               <row>
  281.                 <label control="imageexpirestext" value="&generalExpires;"/>
  282.                 <separator/>
  283.                 <textbox readonly="true" crop="end" id="imageexpirestext"/>
  284.               </row>
  285.               <row>
  286.                 <label control="imageSize" value="&mediaDimensions;"/>
  287.                 <separator/>
  288.                 <textbox readonly="true" crop="end" id="imageSize"/>
  289.               </row>
  290.               <row id="physRow" collapsed="true">
  291.                 <label control="physSize" value="&mediaPhysDimensions;"/>
  292.                 <separator/>
  293.                 <textbox readonly="true" crop="end" id="physSize"/>
  294.               </row>
  295.             </rows>
  296.           </grid>
  297.           <hbox align="end">
  298.             <label control="thepreviewimage" value="&mediaPreview;" class="header"/>
  299.             <spacer flex="1"/>
  300.             <button label="&mediaSaveAs;" accesskey="&mediaSaveAs.accesskey;"
  301.                     icon="save" id="imagesaveasbutton" disabled="true"
  302.                     oncommand="saveMedia();"/>
  303.           </hbox>
  304.           <vbox class="inset iframe" flex="1" pack="center">
  305.             <hbox id="theimagecontainer" pack="center">
  306.               <image id="thepreviewimage"/>
  307.             </hbox>
  308.             <hbox id="brokenimagecontainer" pack="center" collapsed="true">
  309.               <image id="brokenimage" src="resource:///res/broken-image.gif"/>
  310.             </hbox>
  311.           </vbox>
  312.         </vbox>
  313.       </vbox>
  314.  
  315.       <!-- Others added by overlay -->
  316.     </tabpanels>
  317.   </tabbox>
  318.  
  319.  
  320. </window>
  321.